package com.manager.devicemanager.mapper;

import com.manager.devicemanager.entity.Bramtest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.Collection;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */

@Mapper
public interface BramtestMapper extends BaseMapper<Bramtest> {

   /**
   * <p>
   * 批量insert,主键冲突时update
   * </p>
   *
   *
   * @param list
   * @author: wpf
   * @since: 2025-05-29
   */
   void batchInsertOnDuplicateKeyUpdate(@Param("list") Collection<Bramtest> list);
   
   /**
   * <p>
   * 批量insert,主键冲突时忽略
   * </p>
   *
   *
   * @param list
   * @author: wpf
   * @since: 2025-05-29
   */
   void batchInsertOnDuplicateKeyIgnore(@Param("list") Collection<Bramtest> list);

}
